import Vue from "vue"
import Vuex from "vuex"
import Common from "./common/index"
import Managements from "./Managements/index"
import Permission from "./Permission/index"
import Purchasingmanagement from "./Purchasingmanagement/index"
import Humanmanage from "./Humanmanage/index"
import Materia from "./MateriaManage/index"
import getters from "./getters"
Vue.use(Vuex)

export default new Vuex.Store({
    modules: {
        Common,
        Managements,
        Permission,
        Purchasingmanagement,
        Humanmanage,
        Materia
    },
    getters
})